﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BarStructuresAnalysis
{
    public enum AnalyserNumber
    {
        One,
        Two
    }

    public partial class AnalyserChoosing : Form
    {
        public AnalyserNumber Analyser { get; private set; }


        public AnalyserChoosing()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (rb1.Checked)
                Analyser = AnalyserNumber.One;
            else if (rb2.Checked)
                Analyser = AnalyserNumber.Two;
            else
                DialogResult = DialogResult.None;
        }
    }
}
